export function onRouteChange({ matchedRoutes }) {
  console.log(matchedRoutes)
  if (matchedRoutes.length) {
    document.title = matchedRoutes[matchedRoutes.length - 1].route.title || '我没有标题'
  }
}